names = ["freedom", "ali", "freedom"]
print(set(names))

# 创建一个集合
persons = {"freedom", "ali", "freedom"}
print(persons)